# $Id: PKGBUILD 79475 2012-11-06 00:49:02Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: royrocks <royrocks13@gmail.com>

pkgname=tuxpaint-stamps
pkgver=2009.06.28
pkgrel=3
pkgdesc='Additional stamps for Tux Paint'
arch=('any')
url='http://www.tuxpaint.org'
license=('GPL')
depends=('tuxpaint')
source=("http://downloads.sourceforge.net/tuxpaint/$pkgname-$pkgver.tar.gz"
        fixcompilation.patch)
sha256sums=('271d9a5739d24b6dcee751bf8c889eecb3beb3ff67f5a870dba5d7732dca3e68'
            '8ead71fe71d8ee773a48c908d76e5e4f72eaca7a86e0ef2c9839cc83af49fa12')

build() {
  cd $srcdir/$pkgname-$pkgver

  patch -Np1 -i $srcdir/fixcompilation.patch
  make PREFIX=/usr
}

package() {
  cd $srcdir/$pkgname-$pkgver

  make DATA_PREFIX=$pkgdir/usr/share/tuxpaint/ install-all
}

# vim:set ts=2 sw=2 et:
